package com.web.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/center")
public class CenterController {

	@RequestMapping("/center")
	public ModelAndView center(HttpServletRequest request,HttpServletResponse response) throws Exception {
		
		long start = System.currentTimeMillis();
		ModelAndView mv = new ModelAndView("index/main");
		response.setContentType("text/html;charset=utf-8");
		long end = System.currentTimeMillis();
		
		return mv;
	}
}
